import java.util.ArrayList;
import java.util.List;

public class Test {
    public static void main(String[] args) {
        Pokers pokers = new Pokers();
        List<Poker> pokerList = new ArrayList<>();

        pokerList = pokers.pokerList;
        pokers.addPoke(pokerList);
        pokers.shufle(pokerList);

        List<Poker> hand1 = new ArrayList<>();
        List<Poker> hand2 = new ArrayList<>();
        List<Poker> hand3 = new ArrayList<>();

        List<List<Poker>> hand = new ArrayList<>();
        hand.add(hand1);
        hand.add(hand2);
        hand.add(hand3);

        for (int i = 0; i < 13; i++) {
            for (int j = 0; j < 3; j++) {
                hand.get(j).add(pokerList.remove(0));
            }
        }

        System.out.println("Person1:");
        System.out.println(hand1);
        System.out.println("Person2:");
        System.out.println(hand2);
        System.out.println("Person3:");
        System.out.println(hand3);
    }
}
